package com.sxdx.service;

import com.sxdx.common.Result;
import com.sxdx.entity.Book;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sxdx.entity.dto.BookDto;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 靳杰
 * @since 2023-12-22
 */
public interface IBookService extends IService<Book> {
    Result selectBookDetailById(Book book);

    Result<?> addBook(BookDto bookDto);
    Result<?> deleteBook(String uuid);
    Result<?> updateBook(BookDto bookDto);
    Result<?> searchBook(Integer currentPage,Integer pageSize,String searchByName);
}
